Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/jenkins] Stabilize Jenkins by adding a replicaCount #25108

Merged
merged 11 commits into from
May 20, 2024
Merged

[bitnami/jenkins] Stabilize Jenkins by adding a replicaCount #25108

merged 11 commits into from
May 20, 2024

Conversation

elatella
Copy link
Contributor

@elatella elatella commented Apr 10, 2024

Description of the change

Add replicaCount to declare replicaCout in Values

Benefits

By declaring the replicaCount, it removes the possibility to have the replicas scaled up or down my external applications (ArgoCD, ...)

Possible drawbacks

Applicable issues

  • fixes #

Additional information

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • [ x ] Variables are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • [ x ] Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • [ x ] All commits signed off and in agreement of Developer Certificate of Origin (DCO)

@github-actions github-actions bot added jenkins triage Triage is needed labels Apr 10, 2024
@github-actions github-actions bot requested a review from javsalgar April 10, 2024 14:24
@elatella elatella marked this pull request as draft April 10, 2024 14:25
@elatella
Copy link
Contributor Author

@chrira please check

Copy link

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Apr 26, 2024
Copy link
Contributor

@chrira chrira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the implementation.
Please forget my initial idea with the complex logic for having it defined or not.
When needed the autoscaling feature could be added.
In this PR I would just add the replicaCount with a fix number of 1.

bitnami/jenkins/values.yaml Outdated Show resolved Hide resolved
bitnami/jenkins/templates/deployment.yaml Outdated Show resolved Hide resolved
bitnami/jenkins/README.md Outdated Show resolved Hide resolved
@javsalgar javsalgar changed the title bitnami/jenkins Stabalize Jenkins by adding a replicaCount [bitnami/jenkins] Stabilize Jenkins by adding a replicaCount Apr 26, 2024
@javsalgar
Copy link
Contributor

Hi!

Thank you so much for the PR! Could you bump the chart version?

Copy link

github-actions bot commented May 2, 2024

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.

@github-actions github-actions bot added the solved label May 2, 2024
@github-actions github-actions bot removed the solved label May 16, 2024
@carrodher
Copy link
Member

There are some failing actions:

Error: Detected changes in charts without version bump in Chart.yaml. Charts changed: 1. Version bumps detected: 0

You need to bump the chart version to properly release a new Helm chart with those changes

Signed-off-by: Raphaela Seeger <[email protected]>
Copy link
Contributor

@chrira chrira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and is aligned with other bitnami charts.
Thank you!

@elatella elatella marked this pull request as ready for review May 16, 2024 14:22
@carrodher carrodher added verify Execute verification workflow for these changes in-progress and removed stale 15 days without activity labels May 16, 2024
@github-actions github-actions bot removed the triage Triage is needed label May 16, 2024
@github-actions github-actions bot removed the request for review from javsalgar May 16, 2024 14:31
@github-actions github-actions bot requested a review from dgomezleon May 16, 2024 14:31
dgomezleon
dgomezleon previously approved these changes May 20, 2024
Copy link
Member

@dgomezleon dgomezleon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dgomezleon dgomezleon enabled auto-merge (squash) May 20, 2024 07:48
@dgomezleon dgomezleon merged commit a8fbbd4 into bitnami:main May 20, 2024
9 checks passed
fmulero pushed a commit to fmulero/charts that referenced this pull request May 22, 2024
…#25108)

* Add replicaCount to values

Signed-off-by: Raphaela <[email protected]>

* Add replicCount to deployment.yaml

Signed-off-by: Raphaela <[email protected]>

* Add replicaCount to README.md

Signed-off-by: Raphaela <[email protected]>

* Update replicaCount to {} in values.yaml

Signed-off-by: Raphaela <[email protected]>

* Update deployment.yaml

Signed-off-by: Raphaela <[email protected]>

* Update values.yaml

Signed-off-by: Raphaela <[email protected]>

* Simplify ReplicaCount

Signed-off-by: Raphaela <[email protected]>

* Simplify replica solution

Signed-off-by: Raphaela <[email protected]>

* Update ReadMe and Bump version

Signed-off-by: Raphaela Seeger <[email protected]>

---------

Signed-off-by: Raphaela <[email protected]>
Signed-off-by: Raphaela Seeger <[email protected]>
Signed-off-by: David Gomez <[email protected]>
Co-authored-by: Raphaela Seeger <[email protected]>
Co-authored-by: David Gomez <[email protected]>
Signed-off-by: Fran Mulero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jenkins solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants